proc version {nick host} {
  global otbnversion home bcast botadmin organization botnick
 
  if {$isXbot = "1"} {
    set otbnversion "Running \002X-Bot 2003 SP-1\002"
  } else {
    set otbnversion "Running \002OTBN.tcl 2.3 by Overtech Technologies\002"
  }

  putlog "!$nick ($host)! version"	
  putquick "NOTICE $nick :\0034$otbnversion"
  putquick "NOTICE $nick :\0033This copy is registered to:\00312 $organization\003"
  putquick "NOTICE $nick :\0033Current admin listing is:\00312 $botadmin\003"
  putquick "NOTICE $nick :\0033-\003"
  putquick "NOTICE $nick :\0033For more information about who made $otbnversion, please use\00312 (/msg) $botnick credits\003"
  putquick "NOTICE $nick :\0033For more information about the commands this bot responds to, please use\00312 (/msg) $botnick commands\003"

  if {$bcast == "1"} {
    putquick "PRIVMSG $home :$nick!$host requested tcl version reply from me."
  }
}










